package com.gilgamesh.mall.sdk.bean.product;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 
 * 商品图片信息
 * @author peiyao
 * @date 2021-01-11 11:27:37
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
@EqualsAndHashCode(of = {"skuCode","imageUri"})
@TableName("t_image")
public class ImageEntity implements Serializable {


	private static final long serialVersionUID = 4919121777363369269L;
	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */
	private String skuCode;
	/**
	 * 
	 */
	private String productCode;
	/**
	 * 详情页图片链接
	 */
	private String imageUri;
	/**
	 * 排序
	 */
	private Integer rank;



	private String scollImageUrl;

}
